/* 游戏页面的基本样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
}

header .user-options a {
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
}

nav {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.game-intro {
    text-align: center;
    margin: 30px 0;
}

.game-intro h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.game-intro p {
    font-size: 18px;
    color: #555;
}

.game-categories {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.categories-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 30%;
}

.category-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.category-card h3 {
    font-size: 24px;
    margin-top: 15px;
}

.category-card p {
    font-size: 16px;
    color: #666;
}

.btn-play {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.featured-game {
    margin-top: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-game .game-detail {
    display: flex;
    justify-content: space-between;
}

.featured-game .game-image img {
    width: 50%;
    border-radius: 8px;
}

.featured-game .game-info {
    width: 45%;
}

.featured-game h3 {
    font-size: 28px;
}

.featured-game p {
    font-size: 16px;
    color: #555;
}

.online-play {
    margin-top: 40px;
    text-align: center;
}

.online-play p {
    font-size: 18px;
    margin-top: 10px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}
